<blockquote>
<h2>RUN Statistics</h2>
	<table cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <th valign="top" width="100">&nbsp;Project</th>
        <th valign="top" width="60">&nbsp;RunID</th>
        <th valign="top" width="120">&nbsp;Start-Datum </th>
        <th valign="top" width="120">&nbsp;Total Swaps</th>
        <th valign="top" width="150">&nbsp;Blacklisted</th>
        <th valign="top" width="150">&nbsp;Exception Cases</th>
        <th valign="top" width="150">&nbsp;POND Cases</th>
        <th valign="top" width="100">&nbsp;Skipped <br>&nbsp;Swaps</th>
        <th valign="top" width="140">&nbsp;Swaps pendent <br>&nbsp;auf CLY</th>
        <th valign="top" width="140">&nbsp;Swaps closed <br>&nbsp;auf CLY</th>
        <th valign="top">&nbsp;Batch Status</th>
      </tr>
      <?php
      	$i = 1;
        WHILE($row = mysql_fetch_array($result)) {
        	$id = $row["id"];
        	$class = null;
			if ($i++ % 2 == 0) { $class = ' class="altrow"'; }
			else { $class = ' class="altrow2"'; }
      ?>
      <tr <?php echo $class;?>>
        <td>&nbsp;<?php echo $runstatistic->projectname($id); ?></td>
        <td>&nbsp;<?php echo $id; ?></td>
        <td>&nbsp;<?php echo $runstatistic->startdatum($id); ?></td>
        <td>&nbsp;<?php echo $runstatistic->totalswaps($id); ?></td>
        <td>&nbsp;<?php echo $runstatistic->blacklisted($id)-$runstatistic->exceptions($id)-$runstatistic->ponds($id); ?></td>
        <td>&nbsp;<?php echo $runstatistic->exceptions($id); ?></td>
        <td>&nbsp;<?php echo $runstatistic->ponds($id); ?> (<?php echo $runstatistic->pondsopen($id); ?>)</td>
        <td>&nbsp;<?php echo $runstatistic->skipped($id); ?></td>
        <td>&nbsp;<?php echo $runstatistic->prspending($id); ?></td>
        <td>&nbsp;<?php echo $runstatistic->prsclosed($id); ?></td>
        <td>&nbsp;<?php echo $runstatistic->batchstatus($id); ?></td>
      </tr>
      <?php
        }
      ?>
    </table>
    <br><br><br>
</blockquote>